<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/ZWaveApi.Net" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/ZWaveApi.Net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://flemming-pc/ZWaveApi.Web/ZWaveApiService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/ZWaveApi.Net.CommandClasses" />
  <xs:import schemaLocation="http://flemming-pc/ZWaveApi.Web/ZWaveApiService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:complexType name="ArrayOfZWaveNode">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ZWaveNode" nillable="true" type="tns:ZWaveNode" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfZWaveNode" nillable="true" type="tns:ArrayOfZWaveNode" />
  <xs:complexType name="ZWaveNode">
    <xs:sequence>
      <xs:element minOccurs="0" name="GenericType" type="tns:GenericType" />
      <xs:element minOccurs="0" name="HomeID" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="Initializing" type="xs:boolean" />
      <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/ZWaveApi.Net.CommandClasses" minOccurs="0" name="ListOfCommandClasses" nillable="true" type="q1:ArrayOfGenericCommandClass" />
      <xs:element minOccurs="0" name="Listening" type="xs:boolean" />
      <xs:element minOccurs="0" name="NodeId" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="Routing" type="xs:boolean" />
      <xs:element minOccurs="0" name="Security" type="xs:int" />
      <xs:element minOccurs="0" name="Version" type="xs:int" />
      <xs:element minOccurs="0" name="maxBaudRate" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ZWaveNode" nillable="true" type="tns:ZWaveNode" />
  <xs:simpleType name="GenericType">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="PortableRemote" />
      <xs:enumeration value="StaticController" />
      <xs:enumeration value="AVControlPoint" />
      <xs:enumeration value="RoutingSlave" />
      <xs:enumeration value="Display">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">6</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="GarageDoor">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">7</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="Thermostat">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">8</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WindowCovering">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">9</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="RepeaterSlave">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">15</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchBinary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">16</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchMultiLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">17</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchRemote">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">18</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SwitchToggle">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">19</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SensorBinary">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">32</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SensorMultiLevel">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">33</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="WaterControl">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">34</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="MeterPulse">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">48</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="EntryControl">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">64</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SemiInteroperable">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">80</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="SmokeDetector">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">161</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="NonInteroperable">
        <xs:annotation>
          <xs:appinfo>
            <EnumerationValue xmlns="http://schemas.microsoft.com/2003/10/Serialization/">255</EnumerationValue>
          </xs:appinfo>
        </xs:annotation>
      </xs:enumeration>
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="GenericType" nillable="true" type="tns:GenericType" />
  <xs:complexType name="ZWaveInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ApplicationRevision" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="ApplicationVersion" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="ControllerCaps" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Language" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LibraryType" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LibraryVersion" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ManufacturerId" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="ProductId" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="ProductType" type="xs:unsignedInt" />
      <xs:element minOccurs="0" name="controlNodeID" type="xs:unsignedByte" />
      <xs:element minOccurs="0" name="homeId" type="xs:unsignedInt" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ZWaveInfo" nillable="true" type="tns:ZWaveInfo" />
</xs:schema>